/**
 * 添加个人标签 JS
 */
$(function(){
	$("#form-person_tag-add").Validform({
		tiptype:1,
		postonce:true,
		ajaxPost:true,
		callback:function(data){
			if(data.status=="success"){
				setTimeout(function(){
					$.Hidemsg(); //公用方法关闭信息提示框;显示方法是$.Showmsg("message goes here.");
					parent.location.reload(); 
		        	layer_close();
				},1000);
			}else if(data.status=="failure"){
				$.Hidemsg();
				layer.msg(data.message);
			}
		}
	});
});